<!--
 * @Author: wangshuguang
 * @Date: 2022-02-17 11:23:22
 * @LastEditTime: 2022-06-22 14:49:21
 * @LastEditors: wangshuguang
 * @Description: 文件描述...
-->
<template>
  <div class="BusinessFlowHisInfo">
    <el-form :v-model="form" label-width="80px">
      <div class="leftLine title">业务信息</div>
      <el-form-item label="业务单号" class="listItem">{{ form.businessNo }}</el-form-item>
      <el-form-item label="业务类型" class="listItem">{{ form.businessTypeZh }}</el-form-item>
      <el-form-item label="状态" class="listItem">{{ form.rechargeStatusZh }}</el-form-item>
      <el-form-item label="流量余额" class="listItem">{{ form.symbolFlowBalance + form.flowBalance }}</el-form-item>
      <el-form-item label="来源" class="listItem">{{ form.sourceZh }}</el-form-item>
      <el-form-item label="备注" class="listItem">{{ form.remark }}</el-form-item>
      <el-form-item label="完成时间" class="listItem">{{ $dateFtt('yyyy-MM-dd hh:mm', new Date(form.updateTime)) }}</el-form-item>
      <div class="leftLine title">支付信息</div>
      <el-form-item label="支付单号" class="listItem">{{ form.payTranNo }}</el-form-item>
      <el-form-item label="交易金额" class="listItem">{{ form.payAmount == null ? '' : form.symbolPayAmount +'￥'+ form.payAmount }}</el-form-item>
      <el-form-item label="支付方式" class="listItem">{{ form.payTypeZh }}</el-form-item>
      <el-form-item label="支付时间" class="listItem">{{ $dateFtt('yyyy-MM-dd hh:mm', new Date(form.updateTime)) }}</el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  props: {
    infoConfig: {}
  },
  data() {
    return {
      form: {}
    }
  },
  mounted() {
    const { data } = this.infoConfig
    this.form = JSON.parse(JSON.stringify(data))
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.BusinessFlowHisInfo{
  padding: 20px;
  .title{
    margin-bottom: 20px;
  }
}
</style>
